package com.fwj.multiformat;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 傅文江
 * <p>
 * 时间： 2018-03-30 14:10
 * <p>
 * 描述：
 * <p>
 * 版权： Copyright © 2018
 **/
@RestController
public class DemoController {
    @GetMapping(value = "/info")
    public Object getInfo() {
        PersonEntity personEntity = new PersonEntity();
        personEntity.setName("傅文江");
        personEntity.setAge(20);
        personEntity.setHeight(3333.97F);
        return personEntity;
    }

}
